<html>
    <head>
        <style type="text/css">
            .green {
                width: 100px;
                height: 100px;
                background-color: rgba(0, 128, 0, 0.5);
                opacity: 0.5;
                display: block;
            }
            .blue {
                width: 100px;
                height: 100px;
                background-color: rgba(0, 0, 128, 0.5);
                opacity: 0.5;
                display: block;
                transform: translate(50px, 50px);
            }
        </style>
    </head>
    <body>
        <div class="green">
            <div class="blue">
            </div>
        </div>
    </body>
</html>
